<?php
/**
 * Created by PhpStorm.
 * User: baidu
 * Date: 17/8/6
 * Time: 上午2:45
 */
namespace app\common\lib\exception;
use think\Exception;

class ApiException extends  Exception {

	public $message = '';
	public $httpCode = '';
	public $code = '';

	/**
	 * @param  string  $message  [description]
	 * @param  integer $httpCode [description]
	 * @param  integer $code     [description]
	 * @return [type]            [description]
	 */
	public function __construct($message = '',$httpCode = 0,$code = 0){
		$this->httpCode = $httpCode;
		$this->message = $message;
		$this->code = $code;
	}
}